package com.zhn.evsi.domain.dto.Market;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class MarketOrderDTO {

    @ApiModelProperty("id")
    private Integer id;

    @ApiModelProperty("商品分组")
    private Integer groupId;

    @ApiModelProperty("商品id")
    private String orderId;

    @ApiModelProperty("商品名称")
    private String name;

    @ApiModelProperty("商品图片")
    private String picUrl;

    @ApiModelProperty("上架商品数量")
    private Integer quantity;

    @ApiModelProperty("商品售出数量")
    private Integer sellQuantity;

    @ApiModelProperty("商品价格")
    private Double price;

    @ApiModelProperty("商品促销价格")
    private Double promotionalPrice;

    @ApiModelProperty("当前市场价格")
    private Double nowPrice;

    @ApiModelProperty("商品发布人")
    private String character;

    @ApiModelProperty("商品发布地点id")
    private String locationId;

    @ApiModelProperty("商品发布时间")
    private Date createTime;

    @ApiModelProperty("是否参与秒杀")
    private Integer seckill;

    @ApiModelProperty("秒杀起售时间")
    private Date startTime;

    @ApiModelProperty("排序")
    private Integer sort;
}
